package com.gmcc.docmanager.control;

import com.gmcc.docmanager.entity.ApplicationList;
import com.gmcc.docmanager.loader.Response;

public class QueryApplicationResponse extends Response {

	private ApplicationList applicationList;

	public QueryApplicationResponse() {

	}

	public QueryApplicationResponse(Response response) {
		setCode(response.getCode());
		setDescription(response.getDescription());
		if (response.getResponseObject() != null
				&& response.getResponseObject() instanceof ApplicationList) {
			setApplicationList((ApplicationList) response.getResponseObject());
		}
	}

	public ApplicationList getApplicationList() {
		return applicationList;
	}

	public void setApplicationList(ApplicationList applicationList) {
		this.applicationList = applicationList;
	}

}
